https://bugzilla.gnome.org/show_bug.cgi?id=582650
if (this._reservedSlot == clone)
return;
- if (clone && this.containsMetaWindow(clone.metaWindow)) {
- this._reservedSlot = null;
- this.positionWindows(WindowPositionFlags.ANIMATE);
- return;
- }
- if (clone)
- this._reservedSlot = clone;
- else
- this._reservedSlot = null;
+ if (clone && this.containsMetaWindow(clone.metaWindow))
+ clone = null;
+
+ this._reservedSlot = clone;
this.positionWindows(WindowPositionFlags.ANIMATE);
},